package cn.com.scooper.dao.xf;

import cn.com.scooper.pojo.po.MineIotIndexPo;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MineIotIndexDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MineIotIndexPo record);

    MineIotIndexPo selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(MineIotIndexPo record);

    List<MineIotIndexPo> selectAll(MineIotIndexPo record);

    int batchInsert(@Param("saveList") List<MineIotIndexPo> saveList);

    int batchDeleteByDeviceIdList(@Param("deviceIdList") List<String> deviceIdList);
}